import React from 'react';
import ReactDOM from 'react-dom/client';
// 创建 应用实例 
const root = ReactDOM.createRoot(document.getElementById('root'));
// render 渲染虚拟dom树状结构
root.render(
  <h1>你好react</h1>
);
